﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demos.DesignPatterns._06_策略模式
{

    /// <summary>
    /// 折扣策略
    /// </summary>
    public interface IDiscountStrategy
    {

        /// <summary>
        /// 折扣接口
        /// </summary>
        /// <param name="originalPrice"></param>
        /// <returns></returns>
        decimal ApplyDiscount(decimal originalPrice);

    }
}
